<ion-view view-title="{{article.name}}">
  <ion-nav-buttons side="secondary">
    <a class="button button-icon icon-right ion-thumbsup button-clear"
    ng-click="addLike()" ng-disabled="alreadyLiked() || !currentUserId"></a>
    <a class="button button-icon icon-right ion-share button-clear"></a>
  </ion-nav-buttons>
  <ion-content>
    <div class="list card">
      <div class="item item-body">
        <img class="full-image" 
        ng-src="{{rootUrl}}/{{section.imageFileName}}">
        <p>
          <i class="icon ion-clock" style="font-size: 20px; vertical-align: -3px;"></i> 
          {{section.date|date:'yyyy.MM.dd  hh:mm'}}
          <span class="location-bar">
            <i class="icon ion-location" style="font-size: 20px; vertical-align: -3px;"> </i>
            {{section.location}} 
          </span>
        </p>
        <div>{{section.likes.length}} 人喜欢:</div>
        <p>
          <img class="image-avatar-sm" ng-repeat="like in section.likes"
              ng-src="{{rootUrl}}/{{like.liker.avatarFileName}}">
        </p>
        <div>{{section.comments.length}} 个评论:</div>
        <p ng-repeat="comment in section.comments">
          <span style="display:inline-block">
            <img class="image-avatar-sm"
              ng-src="{{rootUrl}}/{{comment.commenter.avatarFileName}}">
          </span>
          <span style="display:inline-block;position:absolute;padding-left:10px;">
            <span style="color: #333333;">{{comment.commenter.name}}</span>： 
            {{comment.text}}
          </span>
        </p>
      </div>
    </div>
  </ion-content>
  <ion-footer-bar  class="item-input-inset bar-balanced" resize-foot-bar>
    <input ng-model="newComment" placeholder="添加短评..." 
    style="display: block; width: 90%; font-size: 16px;">
    <a class="button icon-right ion-chevron-right button-clear" 
    style="display: inline-block; position:absolute; right: 5px;"
    ng-click="addComment()" ng-disabled="!newComment"></a>
  </ion-footer-bar>
</ion-view>    